// ast.js
export const NodeType = {
  VariableDecl: "VariableDecl",
  IfStatement: "IfStatement",
  FunctionCall: "FunctionCall",
  BinaryOp: "BinaryOp"
};

// 示例AST结构（由PEG.js生成）
/*
{
  type: "IfStatement",
  condition: { type: "BinaryOp", left: "年龄", op: ">", right: 18 },
  thenBranch: { type: "FunctionCall", name: "信息框", args: ["成年"] }
}
*/